package com.miao.service;

import com.miao.dto.UserDTO;
import com.miao.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.miao.exception.BusinessException;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author miao
 * @since 2025-06-03
 */
public interface IUserService extends IService<User> {

    void regit(UserDTO userDTO) throws Exception;

    String login(UserDTO userDTO);
}
